package com.xyz.entity.mapper;

import com.xyz.entity.pojo.SystemEmployee;
import com.xyz.entity.pojo.SystemEmployeeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SystemEmployeeMapper {
    long countByExample(SystemEmployeeExample example);

    int deleteByExample(SystemEmployeeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SystemEmployee record);

    int insertSelective(SystemEmployee record);

    List<SystemEmployee> selectByExample(SystemEmployeeExample example);

    SystemEmployee selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SystemEmployee record, @Param("example") SystemEmployeeExample example);

    int updateByExample(@Param("record") SystemEmployee record, @Param("example") SystemEmployeeExample example);

    int updateByPrimaryKeySelective(SystemEmployee record);

    int updateByPrimaryKey(SystemEmployee record);

    //查询所有的员工
    List<SystemEmployee> roleList();
}